package com.woniuxy.lab.woniu_lab.service.dto.rangeDto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
@Data
@ApiModel("实验信息")
public class GetRangeDto {

    @ApiModelProperty(value = "id", example = "1")
    private Integer id;

    /**
     * 靶场名称
     */
    @ApiModelProperty(value = "靶场名称", example = "SQL注入实验")
    private String name;

    @ApiModelProperty(value = "类型",example = "恶意代码")
    private String rangeType;
    /**
     * 难度(low/middle/high)
     */
    @ApiModelProperty(value = "难度", example = "low(简单)/middle(中等)/high(困难)")
    private String level;


    /**
     * 定价(蜗牛币)
     */
    @ApiModelProperty(value = "定价", example = "5.00")
    private BigDecimal price;

    /**
     * 启动次数
     */
    @ApiModelProperty(value = "次数", example = "5")
    private Integer createCount;


    /**
     * 积分
     */
    @ApiModelProperty(value = "积分", example = "5")
    private Integer score;

    /**
     * 实验封面地址
     */
    @ApiModelProperty(value = "实验封面地址", example = "http://xxxx/xxx.jpg")
    private String pic;

}
